package com.lengxf.design;

/**
 * 抽象享元类
 * By Lengxf
 */
public abstract class IgoChessman {

    public abstract String getColor();

    public void display(Coordinates coordinates) {
        System.out.println("棋子的颜色是:" + this.getColor() + "棋子的坐标位置为 ： " + coordinates.getX() + "," + coordinates.getY());
    }

}
